<template>
	<view>
		<swiper class="screen-swiper square-dot" :indicator-dots="true" duration="500">
			<swiper-item v-for="(url,index) in swiperList" :key="index">
				<image :src="url" mode="aspectFill"></image>
				<view class="back_btn" v-if="(swiperList.length - 1) == index">
					<navigator open-type="switchTab" url="/pages/index/index" class="cu-btn btn margin-tb-sm lg">开始使用</navigator>
				</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				current: 0,
				swiperList: [
					'/static/help_imgs/lanyalianjie.jpg',
					'/static/help_imgs/zidignyimoshi.jpg',
					'/static/help_imgs/tianjiayanse.jpg',
				],
			};
		},
		onLoad() {
			uni.setStorageSync('isRaedHelp', true)
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.screen-swiper {
		height: 100vh;

		.back_btn {
			position: fixed;
			top: 80%;
			width: 100%;
			display: flex;
			justify-content: center;

			.btn {
				width: 70%;
				background-color: #FFFFFF;
				border-radius: 30rpx;
				opacity: 0.8;
			}
		}
	}
</style>
